﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
  <session-factory>
    <property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
<!--    <property name="connection.connection_string">server=.\SQLExpress;database=Hoteleiro;Integrated Security=true;</property> -->
    <property name="connection.connection_string">Data Source=m5kgc883kt.database.windows.net,1433;Initial Catalog=Hoteleiro;User ID=hoteleiro;Password=H0t3l31r0</property>
<!--    <property name="connection.connection_string">server=m5kgc883kt.database.windows.net;database=Hoteleiro;Integrated Security=true;</property>
    <property name="connection.username">hoteleiro</property>
    <property name="connection.password">H0t3l31r0</property>-->
    <property name="show_sql">true</property>
    <property name="dialect">NHibernate.Dialect.MsSql2008Dialect</property>
    <property name="cache.use_query_cache">false</property>
    <property name="adonet.batch_size">100</property>
    <property name="query.substitutions">true 1,false 0,yes 'Y',no 'N'</property>

    <mapping assembly="Persistencia" />
  </session-factory>
</hibernate-configuration>